package graph;

import geocoding.TripStop;

public class ALGOBusNetEdge extends ALGOEdge {
	protected String lineName;
	protected double maxDuration;

	/**
     * default constructor
     */

    public ALGOBusNetEdge() {
    	super();
    	
    	lineName = "";    }

    /**
     * constructor
     *
     * @param soid source node id
     * @param siid sink nodee id
     */

    public ALGOBusNetEdge(int soid, int siid) {
	    super(soid, siid);
	    
	    lineName = "";
    }

    /**
     * constructor
     *
     * @param soid source node id
     * @param siid sink nodee id
     * @param c costs for this edge
     */

    public ALGOBusNetEdge(int soid, int siid, double c) {
    	super(soid, siid, c);
    	
    	lineName = "";
    }

    /**
     * 
     * constructor
     * 
     *
     * @param soid source node id
     * @param siid sink nodee id
     * @param c costs for this edge
     * @param ln name of bus line
     */

    public ALGOBusNetEdge(int soid, int siid, double c, String ln) {
    	super(soid, siid, c);
    	
    	lineName = ln;
    }
    
    public String getBusline() {
    	return lineName;
    }
    
    public void setBusline(String ln) {
    	lineName = ln;
    }
    
	public double getMaxDuration() {
		return maxDuration;
	}

	public void setMaxDuration(double maxDuration) {
		this.maxDuration = maxDuration;
	}
}
